package cn.iune.backcenter.author;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface ISaOpauthorizeDao {

	public void insert(SaOpauthorize obj);
	
	public void delete(String sID);
	
	public SaOpauthorize update(SaOpauthorize obj);

	public List<SaOpauthorize> getAll();
	
	public SaOpauthorize getByID(String sID);
	
	public List<SaOpauthorize> getByOrgID(String sOrgID);
	
	public List<SaOpauthorize> getBysAuthorizeRoleID(String sAuthorizeRoleID);

	
	public SaOpauthorize getByOrgRoleID(String sOrgID,String sRoleID);

	JSONObject query(JSONObject data) throws SQLException;

	public JSONObject create(JSONObject param);


}
